﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Entities
{
    public class Theme
    {
        #region Private Properties
        private string _defaultThemeUrl = "/Themes/Portal/_ThreeColumn.cshtmml";
        private string _themeUrl = string.Empty;
        #endregion

        public string ID { get; set; }

        public string Name { get; set; }

        public string Site { get; set; }

        public string Description { get; set; }

        public virtual string Path
        {
            get
            {
                return string.IsNullOrEmpty(_themeUrl) ? _defaultThemeUrl : _themeUrl;
            }
            set
            {
                _themeUrl = value;
            }
        }
    }
}
